/**
 * 
 */
package edu.buu.refectory.dao;

import java.io.Serializable;

/**
 * @author Bruce<br>
 * @version 1.0<br>
 * @CreateDate 25 Apr 2016 <br>
 */
public interface BaseDao<T>{

	public T selectByPrimaryKey(Serializable id);
	public int deleteByPrimaryKey(Serializable id);
	public int insert(T t);
	public int insertSelective(T t);
	public int updateByPrimaryKeySelective(T t);
	public int updateByPrimaryKey(T t);
	
}
